//
//  SEHospitalizeMemoCell.swift
//  SmartEyeForPatient
//
//  Created by qdsg on 2021/4/17.
//

import UIKit

struct SEHospitalizeMemoCellModel {
    var titleText: String = ""
    var memoText: String = ""
}

class SEHospitalizeMemoCell: UITableViewCell {

    static let className = "SEHospitalizeMemoCell"
    static let reuseId = className

    @IBOutlet weak var titleMemoView: SEExamineTitleMemoView! {
        didSet {
            titleMemoView.titleTextColor = Asset.textLight.color
            titleMemoView.memoTextColor = Asset.textDark.color
            titleMemoView.memoLabelAlignment = 0
        }
    }

    override func awakeFromNib() {
        super.awakeFromNib()
        // Initialization code
    }

    func updateCell(model: SEHospitalizeMemoCellModel) {
        titleMemoView.titleText = model.titleText
        titleMemoView.memoText = model.memoText
    }

    override func setSelected(_ selected: Bool, animated: Bool) {
        super.setSelected(selected, animated: animated)

        // Configure the view for the selected state
    }
    
}
